<?php
@header('Pragma:no-cache');
@header('Cache-Control:no-cache');

require_once '../../requires.php';

$cfg = array(
	'authorize_url'									=> 'https://graph.renren.com/oauth/authorize',
	'access_token_url'								=> 'https://graph.renren.com/oauth/token',
	'api_url'										=> 'http://api.renren.com/restserver.do',
	'callback'										=> 'http://www.example.com/framework/Renren/example/oauth_normal/2_callback.php',
	
	'format'										=> 'json',
	'call'											=> 'curl', //fsockopen, curl(http request)
	'oauth_consumer_token'							=> '9bbac42e58c844cd85c89aa7529c6f00',
	'oauth_consumer_token_secret'					=> '7e099f5ebb8346c18453fd2539f47555',
);

$client = new RenrenClient($cfg);
?>